package com.hzsxy.bighomework.service;

import com.hzsxy.bighomework.api.HomeworkView;
import com.hzsxy.bighomework.api.QuestionView;

import java.util.List;

public interface QuestionService {
    List<QuestionView> getAllQuestion(String type,String author);

    void saveChoice(int questionId,String choiceInfo,String op1,String op2,String op3,String op4);

    void updateChoice(int choiceId ,int questionId,String choiceInfo,String op1,String op2,String op3,String op4);

    void saveDesign(int questionId,String designInfo);

    List<HomeworkView> getHomework(String studentId);

}
